home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 58606 / 58606.xpi / chrome / translator.jar / content / preferences.xul < prev    next >
Extensible Markup Language  |  2010-01-19  |  4KB  |  81 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://translator/skin/translator.css" type="text/css"?>
  5.  
  6. <!DOCTYPE overlay SYSTEM "chrome://translator/locale/translator.dtd">
  7.  
  8. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.                 id="translator-preferences"
  10.                 windowtype="translator:preferences"
  11.                 persist="screenX, screenY"
  12.                 title="&title.preferences;">
  13.  
  14.     <script type="application/x-javascript" src="chrome://translator/content/jquery-1.3.2.js" />
  15.     <script type="application/x-javascript" src="chrome://translator/content/jquery.boolean.js" />
  16.     <script type="application/x-javascript" src="chrome://translator/content/preferencesLoader.js" />
  17.     <script type="application/x-javascript" src="chrome://translator/content/preferences.js" />
  18.     <script type="application/x-javascript" src="chrome://translator/content/prefsManager.js" />
  19.     <script type="application/x-javascript" src="chrome://translator/content/languages.js" />
  20.   
  21.   <!-- Keyboard Shortcuts -->
  22.     <keyset>
  23.         <key id="translator-preferences-close-key" keycode="VK_ESCAPE" oncommand="window.close();" />
  24.   </keyset>
  25.   <!-- End Keyboard Shortcuts -->
  26.   
  27.   <hbox id="translator-preferences-content" flex="10">
  28.         <tabbox id="translator-preferences-tabbox" flex="1">
  29.             <tabs>
  30.                 <tab label="&preferences.tab.general;" />
  31.                 <tab label="&preferences.tab.appearance;" />
  32.                 <tab label="&preferences.tab.languages;" />
  33.             </tabs>
  34.             <tabpanels flex="1">
  35.                 <tabpanel id="translator-preferences-tab-general">
  36.                     <groupbox flex="1">
  37.                         <caption label="&preferences.caption.translate;"/>
  38.                         <vbox flex="1">
  39.                             <checkbox id="translator-preferences-translate-selection" class="translator-preference" label="&preferences.translate.selection;" />
  40.                             <vbox>
  41.                                 <checkbox id="translator-preferences-translate-floating" class="translator-preference" label="&preferences.translate.floating;" />
  42.                                 <description id="translator-preferences-floating-note">&preferences.translate.floating.note;</description>
  43.                             </vbox>
  44.                             <hbox align="center">
  45.                                 <checkbox id="translator-preferences-translate-hotkey" class="translator-preference" label="&preferences.translate.hotkey;" />
  46.                                 <textbox id="translator-preferences-hotkey" class="translator-preference" value="" disabled="true" readonly="true" />
  47.                                 <label id="translator-preferences-hotkey-note" control="translator-preferences-hotkey" value="&preferences.translate.hotkey.note;" disabled="true" />
  48.                             </hbox>
  49.                             <description id="translator-preferences-hotkey-warning">&preferences.translate.hotkey.warning;</description>
  50.                         </vbox>
  51.                     </groupbox>
  52.                 </tabpanel>
  53.                 <tabpanel id="translator-preferences-tab-appearance">
  54.                     <groupbox flex="1">
  55.                         <caption label="&preferences.caption.show;"/>
  56.                         <vbox flex="1">
  57.                             <checkbox id="translator-preferences-status-icon" class="translator-preference" label="&preferences.show.status.icon;" />
  58.                             <checkbox id="translator-preferences-status-label" class="translator-preference" label="&preferences.show.status.label;" />
  59.                             <checkbox id="translator-preferences-toolbar" class="translator-preference" label="&preferences.show.toolbar;" />
  60.                             <checkbox id="translator-preferences-context-menu" class="translator-preference" label="&preferences.show.context.menu;" />
  61.                         </vbox>
  62.                     </groupbox>
  63.                 </tabpanel>
  64.                 <tabpanel id="translator-preferences-tab-languages">
  65.                     <vbox flex="1">
  66.                         <label value="&preferences.languages.note;" />
  67.                         <listbox id="translator-preferences-languages-list" flex="1" />
  68.                     </vbox>
  69.                 </tabpanel>
  70.             </tabpanels>
  71.         </tabbox>
  72.   </hbox>
  73.  
  74.   <hbox id="translator-preferences-buttons">
  75.     <button label="&button.reset.preferences;" id="translator-preferences-button-reset" class="translator-button" /> 
  76.     <spacer flex="1" />
  77.     <button label="&button.ok;" id="translator-preferences-button-ok" class="translator-button" default="true" /> 
  78.     <button label="&button.cancel;" id="translator-preferences-button-cancel" class="translator-button" /> 
  79.     <button label="&button.apply;" id="translator-preferences-button-apply" class="translator-button" disabled="true" />
  80.   </hbox>
  81. </window>